package cn.base.day06;

public class Test01 {
    public static void main(String[] args) {
        Foods food1 = new Foods();
        food1.name = "土豆";
        food1.price = 18.6;
        food1.show(food1.name, food1.price);
        Foods food2 = new Foods();
        food2.name = "西红柿";
        food2.price = 23.6;
        food2.show(food2.name, food2.price);
        Foods food3 = new Foods();
        food3.name = "菜花";
        food3.price = 5.6;
        food3.show(food3.name, food3.price);
    }
}
